package cn.spring.com.spring;

/**
 * Bean定义类
 */
public class BeanDefinition {

    /**
     * Bean的类型
     */
    private Class aClass;

    /**
     * Bean的作用域
     */
    private String scope;

    public BeanDefinition(Class aClass, String scope) {
        this.aClass = aClass;
        this.scope = scope;
    }

    public BeanDefinition() {
    }

    public Class getaClass() {
        return aClass;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }


    public void setaClass(Class<?> clazz) {
        this.aClass = clazz;
    }
}
